[PATCH] [yaml2obj][COFF] Allow variable number of directories
authorAlfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com>
Thu, 9 Sep 2021 10:14:52 +0000 (11:14 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 18 Nov 2022 08:47:27 +0000 (08:47 +0000)
commit85515b756ecc51b36260d98458c1b04407a53320
tree3cc99853f6b60784a856f35e68cf9c53c5e65e00
parent8453d25639e474335b397447f7e69aa8fe7a2da4
[PATCH] [yaml2obj][COFF] Allow variable number of directories

Allow variable number of directories, as allowed by the
specification. NumberOfRvaAndSize will default to 16 if not specified,
as in the past.

Reviewed by: jhenderson

Differential Revision: https://reviews.llvm.org/D108825

Gbp-Pq: Name yaml2obj-COFF-Allow-variable-number-of-directories.patch
llvm/lib/ObjectYAML/COFFEmitter.cpp
llvm/lib/ObjectYAML/COFFYAML.cpp
llvm/test/tools/yaml2obj/COFF/variable-number-rva.yaml [new file with mode: 0644]
llvm/tools/llvm-readobj/COFFDumper.cpp
llvm/tools/obj2yaml/coff2yaml.cpp